﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Trang
{
    public class Constants
    {
        public static readonly string PROGRAM_NAME = "Trang Architecture 2010";
        public static readonly string PUBLISH_MENU_ITEM_TOKEN = "Publish";

        public static readonly string AUTOCAD_DRAWING_TEMPLATE_FILES_FILTER = "Drawing Template (*.dwt)|*.dwt";
        public static readonly string INTERIOR_PROJECT_FILES_FILTER = "Trang Architecture Information (*.ams)|*.ams";
        public static readonly string INTERIOR_TEMPLATE_FILES_FILTER = "Trang Architecture Template (*.amt)|*.amt";

        public static readonly string DWG_EXT_FILE = ".dwg";
        public static readonly string INTERIOR_PROJECT_FILE_EXT_FILE = ".ams";
        public static readonly string INTERIOR_TEMPLATE_FILE_EXT_FILE = ".amt";

        public static readonly string BATCH_FILE_DIRECTORY = "BatchFiles";

        public static readonly string CAD_REGISTRY_KEY = @"SOFTWARE\Autodesk\AutoCAD";
        public static readonly string CAD_LOCATION_REGISTRY_VALUE_NAME = "AcadLocation";

        public static readonly string AUTOCAD_EXECUTE_FILENAME = "acad.exe";

        //public static readonly string DELETE_WINDOW_MESSAGE = "Are you sure you want to delete this Element?";
        //public static readonly string DELETE_DRAWING_FILES_MESSAGE = "Are you sure you want to delete the Drawing(s)?";

        public static readonly string DELETE_WINDOW_MESSAGE = "Bạn có chắc chắn xóa thành phần bản vẽ này?";
        public static readonly string DELETE_DRAWING_FILES_MESSAGE = "Bạn có chắc chắn xóa những bản vẽ này?";

        public static readonly string SELECT_DWT_FILE_TOKEN = "Select Template file";

        public static readonly string WINDOW_NAME_TOKEN = "A{0}_Element";
        public static readonly string WINDOW_CODE_TOKEN = "A{0}";
        public static readonly string IMPORTED_LAYOUT_MENUITEM_PREFIX_TOKEN = "Imported: ";
        public static bool DONT_HOLD_ACTION = true;
        public static bool ERROR_FILE_FOUND = false;

        public static bool VIETNAMESE_FLAG = false;
    }
}
